<template>
    <div>
      <el-button @click="infoDialog">dialog</el-button>
      <info-dialog ref="infoDialog"></info-dialog>
    </div>
</template>

<script>
import InfoDialog from '../components/InfoDialog.vue'

export default {
  components: { InfoDialog },
  methods: {
    infoDialog () {
      this.$refs.infoDialog.propShow()
    }
  }
}

</script>

<style lang="scss" scoped>

</style>
